import ajax from '@/utils/request';

/* 账号登录api */
export function loginByUsername(data) {
    return ajax({
        url: '/login',
        method: 'post',
        data: data
    });
}